﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="Demo068.WebForm3" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        .box {
            width: 290px;
            margin: auto;
        }

        h1 {
            text-align: center;
        }

        .content {
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="box">
        <form id="form1" runat="server">
            <h1>顾客信息登记</h1>
            <asp:Label ID="Label1" runat="server" Text="姓名：" /><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="Label4" runat="server" Text="年龄：" /><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="Label2" runat="server" Text="爱好："></asp:Label><textarea id="Content" runat="server" cols="20" rows="5"></textarea>
            <br />
            <br />
            <div class="content">
                <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click" />
                <br />
                <br />
            </div>
            <asp:Label ID="Label3" runat="server" Text="您好，当前时间是："></asp:Label><asp:Label ID="Time" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <div class="content1">
            <b id="result1" runat="server"></b>
               <br />
            <asp:Label ID="result2" runat="server" Text=""></asp:Label>
            </div>
        </form>
    </div>
</body>
</html>
